package com.ruoyi.cs.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统登录信息对象 t_log
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    @ApiModelProperty(value = "日志ID")
    private String rzId;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /** 用户登录IP */
    @Excel(name = "用户登录IP")
    @ApiModelProperty(value = "用户登录IP")
    private String userIp;

    /** 登录状态 */
    @Excel(name = "登录状态")
    @ApiModelProperty(value = "登录状态")
    private String status;

    /** $column.columnComment */
    @Excel(name = "登录状态")
    @ApiModelProperty(value = "登录状态")
    private String userArea;

    /** $column.columnComment */
    @ApiModelProperty(value = "删除标识")
    private String delFlag;

    /**
     * 后台标志
     */
    @ApiModelProperty(value = "后台标志")
    private String backStage;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rzId", getRzId())
            .append("userId", getUserId())
            .append("userIp", getUserIp())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("userArea", getUserArea())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
